package org.szgb.console.utils;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class PageView<T> {
    @Schema(description = "总记录数")
    private Integer count;
    @Schema(description = "查询数据")
    private List<T> list;

    public PageView() {
    }

    public PageView(Integer count, List<T> list) {
        this.count = count;
        this.list = list;
    }
}
